package com.zHan.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * ClassName: RegisterDto
 * Description:
 * date: 2023/11/7 0007 20:40
 *
 * @author zHan
 */
@Data
public class RegisterDto {
    // 注册用户名
    @NotEmpty
    @Size(min = 5, max = 16)
    private String username;

    // 注册密码
    @NotEmpty
    @Size(min = 5, max = 16)
    private String password;
}
